<!DOCTYPE html>
<HTML lang="en">
<HEAD>
    <title> The Baby X FileSystem Shell </title>
    <meta charset="UTF-8">
        
    <link href="prism.css" rel="stylesheet">
<script src="microlight.js"> </script>
<script src="prism.js"> </script>
<style>
.microlight {
    font-family : monospace;
    white-space : pre;
    background-color : white;
}
    
BODY {
    width:50em;
    margin-left:5em;
    background-color:#c0c0ff;
}

P {
   width : 50em;
}

pre {
   background-color:white;
}
</style>

    <BODY>
        <script src="prism.js"></script>
        <A href ="https://github.com/MalcolmMcLean"> <IMG src = "Cartoon_Owl_clip_art.svg" width = "64" height = "62" alt="Malcolm's github site"> </A>
        <A href ="index.html"> <IMG src = "babyxrc_logo.svg" alt="Baby X Resource Compiler" width = "64" height = "62"> </A>
        <A href ="BabyXFS.html"> <IMG src = "BabyXLogos/baby-x-fs-logo.svg" alt="Baby X File System logo" width = "64" height = "62"> </A>
        &nbsp;&nbsp;
        <IMG src = "BabyXLogos/babyxfs-banner.svg" width = "256" height = "62" alt = "Baby X RC banner">
        <H1> The Baby X FileSystem Shell </H1>
        <P>
        The Baby X FileSystem shell is a program for running a shell over FileSystem XML files. It's the most powerful way of editing FileStstem XML files there is, becuse when it is finished, it will be a little computer in its own right. And is is the jewel in the crown of the babcyxfs_ suite of programs.
        </P>
        <H3>Usage</H3>
        <pre>
            
            babyxfs_shell &lt;filesystem.xml&gt; &lt;filename&gt; [options]
           
            The program accepts a FileSystem XML file as an argument, and
            a path, and runs the shell over it.
           
           options:
                   -editor &lt;editor program&gt;
            
            Example:
               babysfxs_shell poems.xml
               
               babyxfs_shell poems.xml -editor vi
               
             This will run a shell and mount poems.xml.
             in the second case, the program "vi" is used to edit the
             files.
               
        </pre>
        <P>
        And you should get a BBX$ prompt, and you are in the shell, and everything
        you do now is Baby X.
        </P>
        <H3>The shell commands</H3>
        <UL>
            <LI>help</LI>
            <LI>quit</LI>
            <LI>cd</LI>
            <LI>ls</LI>
            <LI>cp</LI>
            <LI>mv</LI>
            <LI>rm</LI>
            <LI>cat</LI>
            <LI>edit</LI>
            <LI>import</LI>
            <LI>export</LI>
            <LI>system</LI>
            <LI>edit</LI>
            <LI>bb</LI>
        </UL>
        <H3>help</H3>
        <P>
        help invokes the internal help system.
        </P>
        <H3>quit</H3>
        <P>
        quit exits the shell and returns control to the host.
        </P>
        <H3>cd</H3>
        <P>
        cd changes directories.
        </P>
        <H3>ls</H3>
        <P>
        ls lists the files in a directory.
        </P>
        <H3>cp</H3>
        <P>
        cp copies files.
        </P>
        <H3>mv</H3>
        <P>
        mv moves files.
        </P>
        <H3>rm</H3>
        <P>
        rm removes files.
        </P>
        <H3>cat</H3>
        <P>
        cat prints out files.
        </P>
        <H3>edit</H3>
        <P>
        edit runs an interactive editor on files.
        </P>
        <H3>import</H3>
        <P>
        import uploads files from the host machine.
        </P>
        <H3>export</H3>
        <P>
        export downloads files to hthe host machine.
        </P>
        <H3>system</H3>
        <P>
        system runs a coomand on the host machine.
        </P>
        <H3>bb</H3>
        <P>
        bb invokes the BabyBasic intepreter.
        </P>
    </BODY>
</HTML>
